package model;

import java.sql.Date;

public class Students {
	int sid;
	int pid;
	String idstudents;
	String name;
	int sex;
	Date birthday;
	String address;
	String bio;
	String avartar;

	public Students(int sid, int pid, String idstudents, String name, int sex,
			Date birthday, String address, String bio, String avartar) {
		super();
		this.sid = sid;
		this.pid = pid;
		this.idstudents = idstudents;
		this.name = name;
		this.sex = sex;
		this.birthday = birthday;
		this.address = address;
		this.bio = bio;
		this.avartar = avartar;
	}

	public int getSid() {
		return sid;
	}

	public void setSid(int sid) {
		this.sid = sid;
	}

	public int getPid() {
		return pid;
	}

	public void setPid(int pid) {
		this.pid = pid;
	}

	public String getIdstudents() {
		return idstudents;
	}

	public void setIdstudents(String idstudents) {
		this.idstudents = idstudents;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getSex() {
		return sex;
	}

	public void setSex(int sex) {
		this.sex = sex;
	}

	public Date getBirthday() {
		return birthday;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getBio() {
		return bio;
	}

	public void setBio(String bio) {
		this.bio = bio;
	}

	public String getAvartar() {
		return avartar;
	}

	public void setAvartar(String avartar) {
		this.avartar = avartar;
	}

	@Override
	public String toString() {
		return "Students [sid=" + sid + ", pid=" + pid + ", idstudents="
				+ idstudents + ", name=" + name + ", sex=" + sex
				+ ", birthday=" + birthday + ", address=" + address + ", bio="
				+ bio + ", avartar=" + avartar + "]";
	}

}
